// import { capitalFormList } from '@/layout-components/vip-dialog/config'

const apiUrl = {
    getCusotmerFields: '/information/modulecustomizecolumn/getColumnList', // 获取模块筛选器下面自定义字段
    getModulePermissionData: '/system/module/list', // 获取模块下面的 权限数据
    modelRelation: '/information/modelRelation/', // 获取某模块相关的 模块链接

    // 属性筛选器相关接口
    propFilterSelect: '/information/dialog/channelDialog', // 属性选择器之渠道属性 获取下拉框
    supplierPropFilterSelect: '/information/dialog/supplierDialog', // 属性选择器之供应商属性 获取下拉框
    goodsPropFilterSelect: '/information/dialog/goodsDialog', // 属性选择器之货品属性 获取下拉框
    memberPropFilterSelect: '/member/dialog/memberDialog', // 属性选择器之会员属性 获取下拉框
    channelList: '/information/dialog/channelOptions', // 属性筛选器之渠道编号 模糊搜索
    supplierList: '/information/dialog/supplierOptions', // 属性筛选器之供应商编号 模糊搜索
    userList: '/information/dialog/userOptions', // 属性筛选器之用户编号模糊搜索
    rolesList: '/information/dialog/roleOptions', // 属性筛选器之角色编号模糊搜索
    goodsList: '/information/dialog/goodsOptions', // 属性筛选器之货号编号 模糊搜索

    capitalList: '/information/fundAccount/filter/page', // 资金号模糊查询
    // 用户高级搜索器相关接口
    getSelect: '/system/user/dropDown', // 用户高级搜索器 获取用户里面的下拉框
    getUserList: '/system/user/queryUserBase', // 用户高级搜索器 根据条件查询查出对应用户列表
    userFuzzy: '/system/user/option/page', // 模糊搜索用户

    // 货品/渠道/供应商 等高级搜索器相关接口
    getChannelSearchSelect: '/information/channel/dropDown', // 获取渠道筛选器的下拉框选项
    getGoodsSearchSelect: '/information/goods/filter/dropDown', // 获取货品筛选器的下拉框选项
    getBillNoSearchSelect: '/bill/salePlanAdjustBill/dropDown', // 获取销售计划调整的下拉框选项值
    getsupplierSearchSelect: '/information/supplier/dropDown', // 供应商下拉框
    getFundAccountSelect: 'information/fundAccount/dropDown', // 资金号档案下拉框

    goodsHighSearch: '/information/goods/filter/page', // 货品的模糊搜索
    channelFuzzy: '/information/channel/filter/page', // 渠道模糊搜索
    noticeBillFuzzy: '/bill/noticeBill/option/page', // 指令单模糊搜索
    supplierHighSearch: '/information/supplier/filter/page', // 供应商模糊搜索
    inventoryBillSearch: '/bill/inventoryPlanBill/filter/page', // 盘点计划高级搜索
    // 获取模块列表数据
    getModuleList: '/system/menu/items',
    billFuzzy: '/bill/salePlanBill/option/page', // 订单号模糊搜索
    billHighSearch: '/bill/salePlanBill/filter/page', // 销售计划单号查询
    channelHighSearch: '/information/channel/filter/page', // 渠道查询 高级搜索里面的
    purchaseHighSearch: '/bill/purchaseBill/filter/page', // 采购订单高级查询
    purchaseNoticeHighSearch: '/bill/purchaseReceiveNoticeBill/filter/page', // 采购到货通知单高级查询
    payableSheetHighSearch: '/finance/prePayableApply/filter/page', // 应收费用申请单高级查询
    payableExpenseApplyHighSearch: '/finance/payableExpenseApply/filter/page', // 应付费用申请单
    payableApplyHighSearch: '/finance/payableApply/filter/page', // 付款申请单

    prePayableApplyHighSearch: '/finance/prePayableApply/filter/page', // 预付款申请单
    channelSearch: '/information/channel/filter/list', // 渠道查询 根据选择的条件查询
    goodsSearch: '/information/goods/filter/list', // 货品查询 根据选择的条件查询
    noticeBillHighSearch: '/bill/noticeBill/filter/page', // 指令单查询
    capitalSearch: '/information/fundAccount/filter/page', // 资金号
    userHighSearch: '/system/user/query', // 用户高级搜索
    sendHighSearch: '/bill/sendBill/filter/page', // 发货单号查询
    // 自定义字段通用接口
    getCustomHeader: '/information/billColumnSetting/list', // 获取自定义表头数据
    updatedCustomHeaderSort: '/information/billColumnSetting/update', // 自定义表头数据排序
    getModuleCustomerFields: '/information/modulecustomizecolumn/getGroupColumnList', // 获取模块下的自定义字段

    // 打印通用接口
    getPrintDetail: '/bill/billPrintTemplate', // 获取打印详情
    getPrintList: '/bill/billPrintTemplate/search', // 获取模块打印列表

    // 导入导出
    uploadDetailExcel: '/information/excel/importDetail', // 详情上传
    uploadExcel: '/information/excel/import', // 上传文件
    batchExport: '/information/excel/export', // 批量导出
    getImportModel: '/information/excel/getImportModel', // 获取导入模板

    // 工作流通用接口
    createActivity: '/bill/process/create', // 创建工作流实例
    auditActivity: '/activiti/approval', // 审批通过
    rejectActivity: '/activiti/reject', // 驳回

    // 通用操作日志接口
    operatorLog: '/bill/operatorLog/page',
    // 视图通用接口
    layoutModule: '/moduleLayout/',
    layoutList: '/moduleLayout/list', // 模块视图【单独】列表
    layoutCopy: '/moduleLayout/copy', // 模块视图复制
    layoutCreate: '/moduleLayout/create', // 模块视图创建
    layoutDelete: '/moduleLayout/delete', // 模块视图删除
    layoutDetail: '/moduleLayout', // 模块视图详情
    layoutUpdate: '/moduleLayout/update', // 更新
    layoutMove: '/moduleLayout/move', // 选择视图
    // 扫码接口
    scanAuto: '/information/packingBill/automaticIdentification', // 自动识别
    barScan: '/information/packingBill/scanBarcode', // 条形码  2
    skuScan: '/information/packingBill/scanSku', // sku 录入
    uniCodeScan: '/information/packingBill/scanLabelCode', // 唯一码  3
    goodsEntry: '/information/goods/scan/page', // 货品录入
    goodsFixed: '/bill/scan/goodsPosition', // 货品的定位
    getGoodsSkuHeader: '/bill/scan/getGoodsSkuHeader', // 获取该货品下面的尺码头
    scanGoodsPage: '/information/packingBill/scanGoodsPage', // 获取货品
    // getGoodsSku: '/bill/salePlanBill/getGoodsSkuList',
    getGoodsSku: '/bill/scan/getGoodsSkuList',
    getTagPriceByFoundAccount: '/bill/scan/getGoodsPriceByFundAccount',

    // scan: '/information/goodsBarcode/scan', // 扫码
    // 多语言
    getLanguages: `/system/language/list`,
    getLanguagesData: `/system/dataLanguage`,
    getModulePermiss: '/system/role/authority',

    // 获取关联模块
    getRelationModuleId: '/information/modelRelation/correlatio',
    // 设置关联模块
    settingRelationModuleId: '/information/modelRelation/create',
    //  重置相关模块
    resetRelationModuleId: '/information/modelRelation/restore',
    // 获取全局配置接口
    getGlobalConfig: '/system/systemSetting/settingValue/list',

    // 获取具体配置接口
    getValueConfig: '/system/systemSetting',

    // 获取物流地区信息
    // getAreaListByParentId: '/bill/billArea/getListByParendId'
    getAreaListByParentId: '/bill/billArea/getListByParendName',
    // 根据渠道获取到货运信息
    getLogisticsByChannel: '/information/channel/getDefaultChannelReceiveInfo',
    // 根据选择的销售计划得到货运信息
    getLogisticsBySalePlain: '/bill/salePlanBill/getSalePlanBillLogisticsByBillId',
    // 根据配货单得到货运信息
    getLogisticsByDistribution: '/bill/noticeBill/getNoticeBillLogisticsByBillId',
    getGoodsPrice: '/bill/scan/getGoodsPrice', // 根据价格类型获取价格

    // 结算中心获取 信用额度和信用
    getCreditLine: '/finance/financeCommon/searchShort',
    // 结算中心获取 余额
    getBalance: '/finance/financeCommon/searchDepositBalance',
    // 结算中心 根据渠道得出资金号
    getFundAccountByChannel: '/finance/financeCommon/searchFundAccountByChannel',
    // 结算中心 根据供应商得出资金号
    getFundAccountBySupplier: '/finance/financeCommon/searchFundAccountBySupplier',
    // 结算中心 根据币种得到汇率
    getExchangeRateByCurrency: '/bill/currencyType/searchExchangeRate',
    // 结算中心 根据资金号得到付款账号
    getPayAccountByFundAccount: '/finance/financeCommon/dropFundAccountBank'
};
export default apiUrl;
